Setting Up a Bar Code Variable

If you want to use a bar code to represent a unique code that could appear on all documents produced, try using the EAN (European Article Numbering) system.

Remember that the data in the extract file must be valid for the type of bar code that you use and each type of bar code has its own definition of valid data. For example, a ZIP code must consist of five digits, nine digits or 11 digits, with no dashes. Some bar codes allow alphabetic characters, while other bar codes require specific characters at the beginning and end of the data string.

Here are the steps you need to do:

There are two types of EAN bar code: 8 digit and 13 digit. The data in the extract file must be 7 digits or 12 digits of numeric numbers for EAN-8 Digit, or EAN-13 Digit respectively.

Set up a variable field in Studio. Select the bar code as the Type. Then select EAN-8 Digit or EAN-13 Digit as the variable format. The variable field length for EAN-8 Digit should be 7 digits, and EAN-13 Digit should be 12 digits.

Use the Move_It rule to map the bar code variable field to your data.